package cn.zooz.common.util.exception;

/**
 * Created by Bradish7Y on 2017/7/13.
 */
public class ZoozException extends Exception {

    private String code;
    private String msg;

    public ZoozException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public ZoozException(String message, Throwable cause, String code, String msg) {
        super(message, cause);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
